package com.lxblyw.entity;

import java.text.ParseException;
import java.util.Date;

import com.lxblyw.util.DateUtil;

public class DocumentItem {
	private Document doc;
	private Employee employee;
	private Project project;
	private String createtime;
	
	public Document getDoc() {
		return doc;
	}
	public void setDoc(Document doc) {
		this.doc = doc;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Project getProject() {
		return project;
	}
	public void setProject(Project project) {
		this.project = project;
	}
	public String getCreatetime() {
		return DateUtil.getDiff(doc.getCreatetime());
	}
}
